<template>
<!--  <div class="div_right_add_friend_result">-->
<!--    &lt;!&ndash;  最好设置成一个一个的卡片.&ndash;&gt;-->
<!--    &lt;!&ndash;   需要添加滚动条.&ndash;&gt;-->
<!--    <CScrollbar class="div_crollbar" width="1040px"-->
<!--                height="560px">-->
<!--      <div v-for="user in num" :key="user" class="div_display_inline_block div_right_add_friend_result_card">-->
<!--        <div>-->
<!--          <div class="div_display_inline_block">-->
<!--            &lt;!&ndash;            图片.&ndash;&gt;-->
<!--            <img class="img_right_search_friend_result" :src="require('../../../assets/middle_session_photo_42.jpg')" alt="">-->
<!--          </div>-->

<!--          <div class="div_display_inline_block">-->
<!--            1-->
<!--            &lt;!&ndash;            昵称 人数 类别&ndash;&gt;-->
<!--          </div>-->

<!--          <div>-->
<!--            1-->
<!--            &lt;!&ndash;          简介  &ndash;&gt;-->
<!--          </div>-->

<!--        </div>-->
<!--      </div>-->
<!--    </CScrollbar>-->
<!--  </div>-->

  <div>
<!--    应该通过状态来进行是朋友还是群.-->
    <AddFriendResult v-if="this.$store.state.rightStatus.addFriendTypeStatus === 0"/>
    <AddGroupResult v-if="this.$store.state.rightStatus.addFriendTypeStatus === 1"/>
  </div>

</template>

<script>


import AddFriendResult from './right_add_friend_result_friend'
import AddGroupResult from './right_add_friend_result_group'


export default {
  name: "right_add_friend_result",
  components: {AddFriendResult,AddGroupResult},
  mounted() {
    // mounted每次进来都会执行一次.
    console.log("result.....")
  }
}
</script>

<style scoped>


</style>